package com.gcx.springbeetlsql.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.beetl.sql.annotation.entity.AutoID;
import org.beetl.sql.annotation.entity.Table;

import java.io.Serializable;

/**
 * @Title:
 * @Description:
 * @date 2022/5/7 14:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "sys_user")
public class User implements Serializable{
    @AutoID     // 标识是自增主键
    private Integer id;
    private String name;
    private Integer departmentId;
}
